#include<stdio.h>
#include<unistd.h>
#include <sys/wait.h>
#include<sys/types.h>


int main(int argc ,char * argv[])
{
	pid_t pid = fork();

	if(pid == 0)
	{
		execlp("ls","-a","-l",NULL);

	}
	else if(pid > 0)
	{
		pid_t rid = wait(NULL);
	}
	return 0;
}
